<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>轮播图</title>
<link rel="stylesheet" href="css/swiper.min.css">
</head>
<body>

<h1>我的第一个标题</h1>
<p>我的第一个段落。</p>

<div class="swiper-container" align="center">
	<div class="swiper-wrapper">
		<div class="swiper-slide">
			<div class="slider">
				<img src="images/slider1.jpg" alt="slider1" >
			</div>
		</div>

		<div class="swiper-slide">
			<div class="slider">
				<img src="images/slider2.jpg" alt="slider1" >
			</div>
		</div>

		<div class="swiper-slide">
			<div class="slider">
				<img src="images/slider3.jpg" alt="slider1" >
			</div>
		</div>

	</div>
	<div class="swiper-pagination"></div>
	<div class="swiper-scrollbar"></div>

</div>

<script src="js/swiper.min.js"></script>
<script>
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        parallax: true,
        speed: 600,
        loop: true,
        autoplay:3000
    });
</script>
<!-- <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script> -->

</body>
</html>